import React, { Component } from 'react'
import { HashRouter, Route, Link,Redirect } from 'react-router-dom'
import './aboutus.scss'
import { RightOutlined } from '@ant-design/icons'
import home from '../../../img2/home.png'
import Newzhuce from '../newzhuce/newzhuce'

export default class aboutus extends Component {
    render() {
        return (
            <div>
                <div className="ab-local">
                    你的当前所在位置：
                </div>
                <div className="ab-con">
                    {/* 左侧导航 */}
                    <div className="ab-rout">
                        <div className="ab-home">
                            <img src={home} alt="" />
                            易和商城
                        </div>
                        <div className="ab-rou-us">
                            <div>关于易和 <RightOutlined className="abusimg" /></div>
                            <p>
                                <Link to='/producthome/guanyuwomen/newzhuce'
                                >新用户注册</Link></p>
                            <p>在线下单</p>
                            <p>支付方式</p>
                        </div>
                        <div className="ab-rou-us">
                            <div>配送方式 <RightOutlined className="abusimg" /></div>
                            <p>运费说明</p>
                            <p>配送方式</p>
                            <p>发票说明</p>
                        </div>
                        <div className="ab-rou-us">
                            <div>售后服务 <RightOutlined className="abusimg" /></div>
                            <p>退换货规则</p>
                            <p>服务承诺保障</p>
                            <p>发票说明</p>
                        </div>
                        <div className="ab-rou-us">
                            <div>加盟易和 <RightOutlined className="abusimg" /></div>
                            <p>加盟条款</p>
                            <p>公司简介</p>
                            <p>
                                <Link to='/producthome/guanyuwomen/newzhuce'
                                >新疆菜</Link>
                            </p>
                        </div>
                    </div>

                    {/*  右侧内容*/}
                    <div className="ab-content">
                        <HashRouter>
                            <Redirect path="/producthome/guanyuwomen" to="/producthome/guanyuwomen/newzhuce" /> 
                            <Route path='/producthome/guanyuwomen/newzhuce' component={Newzhuce}></Route>
                        </HashRouter>

                    </div>

                </div>
            </div>
        )
    }
}
